﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EntityModel;
using Services;

namespace ShopWeb.Controllers
{
    public class HomeController : Controller
    {
        #region 公共属性
        private WebConfigService webConfigService = new WebConfigService();
        #endregion

        public ActionResult Index()
        {
            WebConfig webConfig = webConfigService.GetModel();
            ViewData["Title"] = webConfig.Name;
            ViewData["KeyWord"] = webConfig.KeyWord;
            ViewData["Description"] = webConfig.Description;
            return View();
        }
        public ActionResult haha()
        {

            return View();
        }
        public ActionResult Woman()
        {
           
            return View();
        }
        public ActionResult Man()
        {

            return View();
        }
        
        
    }
}
